package com.magic.smartcity.beans;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * @description: 这个站点的线路
 * @create: Create by Magic on 2022/2/13.
 */
public class MetroLines implements Serializable {
    private static final String TAG = MetroLines.class.getSimpleName();

    @SerializedName("name")
    private String name;//站点名
    @SerializedName("lines")
    private List<MetroLine> lines;//通过此站点的线路

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<MetroLine> getLines() {
        return lines;
    }

    public void setLines(List<MetroLine> lines) {
        this.lines = lines;
    }

    @Override
    public String toString() {
        return "MetroLines{" +
                "name='" + name + '\'' +
                ", lines=" + lines +
                '}';
    }
}
